Technical Q&A

TB 63- Setting a Control's Variant Field (3-May-99)


Q: Given that there is no SetControlVariant, what is the proper method to set a control's variant field?

A: None. There is no good way to set a control's variant; standard controls do not support dynamic variants. If you need to change the variant of a custom control after creating the control, it's better not to use variants at all. Instead, let the clients of your control call SetControlData to change the behavior and/or appearance of your control.


-- Pete Gontier
Worldwide Developer Technical Support

Technical Q&As | Contents
Previous Question | Next Question

To contact us, please use the Contact Us page.